const wxaBuildConfig = {
  DEFAULT: {
    uniquePage: ["homePage", "userCenter"],
    insideLinkPageType: [
      {
        key: "SYSTEMPAGE",
        label: "系统页面",
      },
      {
        key: "MICRO_PAGE",
        label: "微页面",
      },
      {
        key: "CUS_PAGE_URL",
        label: "自定义链接",
      },
    ],
    insideLinkSystemPage: [
      {
        key: "homePage",
        code: "PUB_HOME_PAGE",
        pageId: "",
        label: "首页",
        openPath: "pages/home/index",
        openMode: "navigateTo",
      },
      {
        key: "userCenter",
        code: "PUB_USER_CENTER",
        pageId: "",
        label: "个人中心",
        openPath: `pages/mine/index?needAuth=true`,
        openMode: "navigateTo",
      },
      {
        key: "orderManager",
        pageId: "",
        code: "PUB_ORDER",
        label: "订单",
        openPath: `pages/sp-order/pages/store-order-list/index?isShowTabbar=true&needAuth=true`,
        openMode: "navigateTo",
      },
    ],
  },
};

export default wxaBuildConfig;

export const PAGE_SIGN = {
  MICRO_PAGE: "microPage",
  SYS_PAGE: "sysPage",
  USER_PAGE: "userPage",
  CUSTOMER_FORM: "customerForm",
  BASE_PAGE: "basePage",
  BASE_MODAL: "baseModal",
  DESC_MODAL: "descModal",
};
export const INDENTIFICATION = {
  BASIC: "basic", // 基础组件
  CUS_FORM: "cus-form", // 自定义表单组件
  BUSINESS: "business", // 业务组件
  OTHER: "other", // 其他组件
  ONLY: "only", // 唯一组件
  FORM_MODAL: "form-modal", // 表单模块
  DESC_MODAL: "desc-modal", // 装修模块
  PAGE_MODAL: "page-modal", // 微页面
  USER_CENTER_MODAL: "user-center-modal", // 个人中心
  PAGE_FORM_MODAL: "page-form-modal", // 自定义表单
  HOME_PAGE_MODAL: "home-page-modal", // 首页
  ORDER_PAGE_MODAL: "order-page-modal", // 订单
};

export const PAGE_TYPE = {
  PAGE_MODAL: 1, // 微页面
  PAGE_FORM_MODAL: 2, // 自定义表单
  USER_CENTER_MODAL: 3, // 个人中心
  HOME_PAGE_MODAL: 4, // 首页
  ORDER_PAGE_MODAL: 5, // 订单
};
export const MODULE_TYPE = {
  DESC_MODAL: 2,
  FORM_MODAL: 1,
};



export const INDENTIFICATION_TEXT = {
  BASIC: "基础组件", // 基础组件
  CUS_FORM: "基础组件", // 自定义表单组件
  BUSINESS: "业务组件", // 业务组件
  OTHER: "其他组件", // 其他组件
  ONLY: "唯一组件", // 唯一组件
  FORM_MODAL: "表单模块", // 表单模块
  DESC_MODAL: "装修模块", // 装修模块
  PAGE_MODAL: "微页面", // 微页面模块
  USER_CENTER_MODAL: "个人中心", // 个人中心
  PAGE_FORM_MODAL: "自定义表单", // 自定义表单
  HOME_PAGE_MODAL: "首页", // 首页
  ORDER_PAGE_MODAL: "订单", // 订单
};
// 操作状态
export const OPERATION_TYPE = {
  ADD: "add",
  COPY: "copy",
  EDIT: "edit",
};
